package com.peace.hospital;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;

/**
 * １、禁用srping boot自动配置的单数据源，
 * 启动类上加上注解@SpringBootApplication(exclude= DataSourceAutoConfiguration.class)*/

@EnableDiscoveryClient
@SpringBootApplication
public class PeacehospitalFrameworkProducerOutpatientdepartment10002Application {

	public static void main(String[] args) {
		SpringApplication.run(PeacehospitalFrameworkProducerOutpatientdepartment10002Application.class, args);
	}

}
